package com.nisure.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.nisure.dao.CompanyBackupDao;
import com.nisure.entity.CompanyBackupEntity;
import com.nisure.service.CompanyBackupService;
@Service
public class CompanyBackupServiceImpl implements CompanyBackupService{

	@Autowired
	private CompanyBackupDao companyBackupDao;
	@Override
	public int saveBackup(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return companyBackupDao.saveBackup(map);
	}
	@Override
	public List<CompanyBackupEntity> queryBackup(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return companyBackupDao.queryBackup(map);
	}
	@Override
	public int updateBackup(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return companyBackupDao.updateBackup(map);
	}
	@Override
	public int addBackup(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return companyBackupDao.addBackup(map);
	}

}
